{% extends "base.html" %}

{% block title %} {{ blog_name }}{% block extratitle %}{% endblock %}{% endblock %}

{% block body_class %}blogs{% endblock %}

{% block extrastyle %}
    <link rel="stylesheet" href="{{ MEDIA_URL }}css/blogs.css" type="text/css" media="screen" />
{% endblock %}

{% block extrahead %}
    <link rel="alternate" type="application/rss+xml" 
        title="GlobeCampus.ca: {{ blog_name }}" href="/blogs/feeds/latest/{{ blog_slug }}/" />

{% endblock %}

{% block content %}
    {% block contenttop %}{% endblock %}
    {% block blogcontent %}{% endblock %}
    {% block contentbottom %}{% endblock %}
{% endblock %}

{% block sidebar %}
    {% block blogsidebar %}
        <div class="holder">
            <h2><a href="{% url blogs.main.index blog_slug,1 %}">{{ blog_name }}</a></h2>
            <div id="description">
                {{ blog_description|safe }}
            </div>
            <span class="clearer"></span>
        </div>
        <div class="holder">
            {% include 'blogs/widgets/search.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/tag_list.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/archives_list.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/latest_posts.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/latest_comments.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/rss.html' %}
        </div>
        <div class="holder">
            {% include 'blogs/widgets/blogroll.html' %}
        </div>
        {% block extrasidebar %}{% endblock %}
    {% endblock %}
{% endblock %}

